/*** Admin Pages ***/

#admincontent div,span,p,form,td,th,table,li,ul,ol,img,b,em,tt{
	/* background:transparent; */
	}

#admincontent ul li,#admincontent ol li {
	list-style-image: none;
	}
#admincontent form{
	margin:0;
	padding:0;
	}
#admincontent table{
	/* width:auto; /* this changes ckeditor display */
	}
#admincontent a img, #mainadminpanel a img{
	border:none;
	}


/* admincontent */	

#admincontent{
	background-color:#fff;
	color:#333;
	font-size:13px;
	padding:10px;
}
#admincontent h1{
	font-size:20px;
	}
#admincontent h2{
	font-size:17px;
	}
#admincontent a{
	color:#445599;
}

/* general admin */
#admincontent{}


table.bordered{
	margin-top:1em;
	border-collapse:collapse;
	border-top:1px solid #ccc;
	border-right:1px solid #ccc;
}
table.bordered th, table.bordered td{
	padding:5px 2em 5px 2em;
	border-bottom:1px solid #ccc;
	border-left:1px solid #ccc;
	text-align:left;
}
table.bordered th{
	background-color:#ddd;
	white-space:nowrap;
	padding-left:1em;
	}




#admincontent .formlabel{
	text-align:right;
	font-weight:bold;
	}
	
#admincontent li{
	padding:.5em;
	}
#admincontent li a{
	text-decoration:none;
	}
#admincontent a img{
	border:none;
	}


#adminfooter{
	font-size:smaller;
	width:600px;
	margin: 10em auto 2em auto;
	}

#adminfooter ul,
#adminfooter li{
	list-style:none;
	margin:0;
	padding:0;
}


.admin_note{
	font-size:85%;
	}




/* New Expandable Menu Control */

.expand_child{
	position:relative;
}

.expand_child ul{
	position:absolute;
	display:none;
	}
.expand ul{
	display:block;
	}
.expand .expand_child ul{
	display:none;
	}
.expand .expand ul{
	display:block;
	}
	

.hidden_options{
	visibility:hidden;
	}

.expand .hidden_options{
	visibility:visible;
	}

/* don't show any drop down menus when dragging */
.drag_active ul{
	display:none !important; 
	}
.drag_active .hidden_options{
	visibility:hidden !important;
	}


/*	 Drag 'n Drop   */


.draggable_element{
	cursor:move;
	}
.draggable_hidden{
	filter:alpha(opacity=30);
	-moz-opacity:0.3;
	-khtml-opacity: 0.3;
	opacity: 0.3;
}
.target{
	-o-box-shadow: 5px 5px 5px #888;
	-icab-box-shadow: 5px 5px 5px #888;
	-khtml-box-shadow: 5px 5px 5px #888;
	-moz-box-shadow: 5px 5px 5px #888;
	-webkit-box-shadow: 5px 5px 5px #888;
	
	left:-5px;
	top:-5px;
	visibility:visible !important;
	
	filter:alpha(opacity=100);
	-moz-opacity:1;
	-khtml-opacity: 1;
	opacity: 1;
	}
	
	

	

/*** new menuconfig ***/

#menuconfig{
	width:610px; /* for explorer */
}
#menuconfig .testing_area{
	background:#fffafa;

	border:1px solid #dcc;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius:5px;
	padding:5px;
	margin-bottom:9px;
}
#menuconfig li, #menuconfig ul{
	list-style:none;
	padding:0;
	margin:0;
	}

#menuconfig .level{
	position:relative;
	padding:3px 5px;
	margin:2px 2px 0 2px;
	float:left;
	white-space:nowrap;

	background:#fafafa url(../imgs/list_back.png) bottom repeat-x;

	border:1px solid #ccc;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius:5px;
	width:200px;
	z-index:800;
	}
	
#menuconfig .hidden_element{
	background:#fcfcfc;
	border:1px solid #efefef;
	width:120px;
}
#menuconfig .last{
	width:147px;
	}
	
#menuconfig .label{
	display:block;
	white-space:nowrap;
	overflow:hidden;
	font-weight:bold;
	width:150px;
	color:#555;
	}
	
#menuconfig b{
	color:#555;
	}
	
#menuconfig a{
	text-decoration:none;
	margin:2px;
	padding:0;
	color:#555;
	font-size:13px;
	}	
	
#menuconfig img{
	margin:0;
	border:none;
	vertical-align:top;
	}
#menuconfig .options{
	float:right;
	padding:0 23px 0 0;
}
#menuconfig .expand_child .options{
	background: url(../imgs/expand_arrow.png) center right no-repeat;
	}


#menuconfig .level ul, #menuconfig .simple_top_hover{
	border:1px solid #999;
	background:#efefef;

	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	
	-o-box-shadow: 2px 2px 2px #888;
	-icab-box-shadow: 2px 2px 2px #888;
	-khtml-box-shadow: 2px 2px 2px #888;
	-moz-box-shadow: 2px 2px 2px #888;
	-webkit-box-shadow: 2px 2px 2px #888;
	z-index:801;
	
}
	
#menuconfig .level ul{
	top:85%;
	right:0;
	padding:6px 0;
	/* width:110px; */
	white-space:nowrap;
	}
	
/* to prevent links wrapping */
#menuconfig .level ul a{
	/* width:100px; */
	padding-right:11px;
	overflow:hidden;
	white-space:nowrap;
	}	
#menuconfig .expand_right ul{
	left:90%;
	top:0;
	right:auto;
	}
#menuconfig .expand a{
	color:#333;
}
#menuconfig .level ul li{
	padding:4px 19px 4px 5px;
	display:block;
	}
#menuconfig .level ul li:hover{
	background-color:#ccc;
}
#menuconfig .level ul img{
	margin-right:5px;
	}
#menuconfig .expand_right{
	background: url(../imgs/expand_arrow_right.png) right 50% no-repeat;
}	

	
	
	
	
/* menuconfig drag 'n drop */
#menuconfig .target{
	border-color:#999;
	background-color:#ddd;
	background:#efefef url(../imgs/list_back_hover.png) bottom repeat-x;
}

	
	
/**** .new_page_position ****/


.new_page_position{
	position:relative;
	width:240px;
	padding:0 15px 0 0;
	margin:-2px 0 0 0;
	background: #fff url(../imgs/expand_arrow.png) center right no-repeat;
}
.new_page_position .container{
	position:absolute;
	top:0;
	left:0;
	width:240px;
	z-index:99;
}
.new_page_position a{
	color:#222 !important;
	text-decoration:none;
	}
.new_page_position .cell{
	
	position:relative;
	padding: 1px 4px;
	white-space:nowrap;
	
	
	border:1px solid #aaa;
	background:#efefef url(../imgs/list_back_hover.png) bottom repeat-x;
	
	float:left;
	margin:0 3px 3px 0;
	width:70px;
	overflow:hidden;
	
	margin:-1px 0 0 -1px;
	cursor:pointer;
}

.new_page_position .cell:hover{
	background:#fafafa;
}

.new_page_position .selected, .new_page_position .selected:hover{
	background:#009900;
	background:#aabbff;
}

.new_page_position .hidden{
	margin: 2px 0 0 -1px;
	width:229px;
}


/* 
 * Admin Panel 
 * This is the panel of admin links that is displayed across all pages when the user is logged in
 * 
 */

#simplepanel{
	
	background: #5d5d5d url(../imgs/panel_back2.png) 0 45% repeat-x;
	margin:0;
	padding:3px 5px;
	float:left;
	clear:both;
	width:100%;
	position:relative;
	z-index:9001;
	border-bottom:1px solid #444;
}
.panelwrapper{
	width:930px;
	margin:0 auto;
	}

#gpadminpanel{
	line-height:normal;
	z-index:9000; /* IE7 */
	font-size:13px;
	font-family:Arial, sans-serif;
	margin:0;
	top:0;
	width:100%;
	position:fixed;
	
	}
#gpadminpanel img{
	border:0;
	}
#gpadminpanel li{
	list-style:none;
	display:block;
	}
	
#gpadminpanel .right{
	float:right;
	padding:0;
	margin:0;
	}
#gpadminpanel .left{
	float:left;
	padding:0;
	margin:0;
	}


#gpadminpanel .simple_top{
	list-style:none;
	position:relative;
	display:block;
	float:left;
	white-space:nowrap;	
	margin:0 12px 0 0;
}

#gpadminpanel .expand_child{
	background: url(../imgs/expand_arrow.png) right center no-repeat;
	padding:3px 21px 3px 3px;
	}


#gpadminpanel .simple_top a, #gpadminpanel .simple_top span{
	text-decoration:none;
	font-weight:bold;
	color:#fff !important;
	display:inline-block;
	white-space:nowrap;
	padding:3px;
	margin:0;
}
.STCLASS #gpadminpanel .simple_top a{
	display:block;
	}

#gpadminpanel .simple_top img{
	float:left;
	padding-right:5px;
	}
	
#gpadminpanel .simple_top_hover{
	background-color:#4a4a4a;
	
	-moz-border-radius: 5px 5px 0 0;
	-o-border-radius:  5px 5px 0 0;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	border-radius:  5px 5px 0 0;
	
	-o-box-shadow: 2px 3px 4px #000;
	-icab-box-shadow: 2px 3px 4px #000;
	-khtml-box-shadow: 2px 3px 4px #000;
	-moz-box-shadow: 2px 3px 4px #000;
	-webkit-box-shadow: 2px 3px 4px #000;	
	}
	
#gpadminpanel .expand ul{
	background-color:#4a4a4a;
	margin:0;
	padding: 7px 0 4px 0;
	position:absolute;
	z-index:9000;
	min-width:110%;
	top:100%;
	clear:both;
	border:1px solid #4a4a4a;
	
	-o-box-shadow: 2px 3px 4px #000;
	-icab-box-shadow: 2px 3px 4px #000;
	-khtml-box-shadow: 2px 3px 4px #000;
	-moz-box-shadow: 2px 3px 4px #000;
	-webkit-box-shadow: 2px 3px 4px #000;
}

#gpadminpanel .left .expand ul{
	left:0;
	-moz-border-radius: 0 5px 5px 5px;
	-o-border-radius: 0 5px 5px 5px;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	border-radius: 0 5px 5px 5px;

	}
#gpadminpanel .right .expand ul{
	right:0;
	-moz-border-radius: 5px 0 5px 5px;
	-o-border-radius: 5px 0 5px 5px;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-top-left-radius: 5px;
	border-radius: 5px 0 5px 5px;
	}


#gpadminpanel .expand ul ul{
	-moz-border-radius: 5px !important;
	-o-border-radius: 5px !important;
	-webkit-border-radius: 5px !important;
	border-radius: 5px !important;
	}



#gpadminpanel .expand li{
	padding:0 9px 0 17px;
}
#gpadminpanel .right .expand .expand_child{
	background: url(../imgs/expand_arrow_left.png) left center no-repeat;
	}
#gpadminpanel .left .expand .expand_child{
	background: url(../imgs/expand_arrow_right.png) right center no-repeat;
	}

#gpadminpanel .expand .expand ul{
	/* left:-100%; */
	top:0;
	left:auto;
	right:95%;
	}
#gpadminpanel .left .expand .expand ul{
	left:95%;
	}
	
#gpadminpanel .expand ul a{
	/* overflow:hidden; not good for IE7 */
}
#gpadminpanel .expand ul li:hover{
	background-color: #5d5d5d !important;
	color:#fff;
	}
#gpadminpanel li.seperator{
	border-top:1px solid #666;
	}
	
#simplesubpanel{
	
	margin:0;
	padding:3px 5px;
	width:100%;
	border-bottom:1px solid #444;
	z-index:9000;
	border-top:1px solid #999;
	background: #7d7d7d; /* #5d5d5d; */
	clear:both;
	}
	
#simplesubpanel ul{
	margin:0;
	padding:0;
	}

#simplesubpanel .simple_top a{
	padding:3px 9px;
	border:1px solid #7d7d7d;
	}

#simplesubpanel a:hover{
	background-color: #4a4a4a;
	border:1px solid #4a4a4a;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	color:#ddd;
	}


	
/* .ExtraEditLink:link, .ExtraEditLink:visited*/
.ExtraEditLink{
	display:none;
	padding:4px 8px !important;
	color:#fff !important;
	background: #5d5d5d url(../imgs/panel_back2.png) 0 45% repeat-x !important;

	border: 1px solid #4a4a4a !important;
	-moz-border-radius: 7px !important;
	-webkit-border-radius: 7px !important;
	-o-border-radius:7px !important;
	border-radius:7px !important;
	text-decoration:none !important;
	font-weight:bold !important;
	height:auto !important;
	font-size:14px !important;
	}
	
/* position based on browser */
.STCLASS .ExtraEditLink, .IE7CLASS .ExtraEditLink{
	position:absolute;
	top:0;
	right:0;
	z-index:8999;
	}
	
.ExtraEditLink:hover{
	background:#4a4a4a none !important;
	color:#fff !important;
	}
	
.editable_area{
	position:relative; /* this is necessary */
	}
	
/*
.editable_area:hover .ExtraEditLink{
	position:absolute;
	top:0;
	right:0;
	}
	*/
.edit_area_overlay{
	display:none;
	text-align:right;
	z-index:8000;
	}
#edit_area_overlay_left{
	position:absolute;
	width:2px;
	border-right:2px solid #FF0000; /*red*/
	}
#edit_area_overlay_top{
	position:absolute;
	width:2px;
	border-bottom:2px solid #FF0000; /*red*/
	z-index:8001;
	}
#edit_area_overlay_right{
	position:absolute;
	width:2px;
	border-left:2px solid #FF0000; /*red*/
	}
#edit_area_overlay_bottom{
	position:absolute;
	width:2px;
	border-top:2px solid #FF0000; /*red*/
	}
	
	
#editable_bar{
	position:absolute;
	top:0;
	width:7px;
	z-index:8900;
	border-right:1px solid #4d4d4d;
	-moz-box-shadow: 1px 0 1px #3d3d3d;
	background-color:#5d5d5d;
	overflow:hidden;
	}
	
.editable_mark{
	position:absolute;
	display:block;
	padding:3px 7px 3px 7px;
	text-align:right;
	
	font-size:13px;
	font-family:Arial, sans-serif;
	color:#fff !important;
	text-decoration:none;
	font-weight:bold;
	border-top:1px solid #4d4d4d;
	border-bottom:1px solid #4d4d4d;
	background-color: #767676;
	white-space:nowrap;
	overflow:hidden;
	}
	
.editable_mark:hover{
	z-index:8901;
	background-color:#4a4a4a;
	border-color:#3d3d3d;
	text-decoration:none;
	}


/* adminlinks */

#admincontent .adminlinks{
	width:680px;
	margin:2em auto;
	width:auto;
	
}
#admincontent .adminlinks ul{
	padding:0;
	margin:0;
}
#admincontent .adminlinks li{
	list-style:none;
	float:left;
	padding:0;
	margin:0;
	}
#admincontent .adminlinks li a{
	display:block;
	width:150px;
	font-size:15px;
	margin:0 10px 10px 0;
	overflow:hidden;
	white-space:nowrap;
	padding:9px 11px 9px 30px;
	
	background: #fff url(../imgs/page_white_gear.png) no-repeat 10px 50%;
	
	border:1px solid #999;
	
	-o-box-shadow: 1px 1px 1px #aaa;
	-icab-box-shadow: 1px 1px 1px #aaa;
	-khtml-box-shadow: 1px 1px 1px #aaa;
	-moz-box-shadow: 1px 1px 1px #aaa;
	-webkit-box-shadow: 1px 1px 1px #aaa;
	
	-moz-border-radius: 3px !important;
	-webkit-border-radius: 3px !important;
	-o-border-radius:3px !important;
	border-radius:3px !important;
}

#admincontent .adminlinks li a:hover{
	background-color:#eef;
	border-color:#888;
	}

	


/*
 * 
 * Overlay
 */


#loading{
	color:#000;
	font-size:50px;
	font-weight:bold;
	text-align:center;
	
	background-color:#fff;
	filter:alpha(opacity=60);
	-moz-opacity:0.6;
	-khtml-opacity: 0.6;
	opacity: 0.6;
	
	padding:5em 0 100em 0;
	
	top:0;
	left:0;
	position:absolute;
	position:fixed;
	/* z-index:9001000; /* needs to be above everything, done by js */
	width:100%;
	height:100%;
	}
	
#loading img{
	padding:5px;
	}
	
	
div.inline_box{
	padding:2em;
	}
	
div.inline_box h2{
	margin-top:0;
	color:#333;
	}

div.inline_box td{
	padding:.5em;
	}
div.inline_box .formlabel{
	text-align:right;
	font-size:85%;
	white-space:nowrap;
	}
	
div.inline_box input, div.inline_box select, div.inline_box textarea{
	padding:3px 5px;
	}
div.inline_box .cancel{
	display:inline !important;
	}
div.inline_box li{
	list-style:none;
	}
div.inline_box label{
	display:block;
	}


/*
 * Addon
 */

.progressDone{
	background-color:#009900;
	border-color:#ccc;
	border-style:solid;
	border-width:1px 0 1px 1px;
	}
.progressToDo{	
	background-color:#e5e5e5;
	border-color:#ccc;
	border-style:solid;
	border-width:1px 1px 1px 0;
	}

.rating{
	position:relative;
	height:30px;	
	}
.rating a{
	position:relative;
	display:inline-block;
	height:16px;
	background: url(../imgs/stars.png) 0 0;
	}
	
.addon_heading{
	margin-bottom:1em;
	}
.addon_heading h2{
	margin-bottom:0;
}
.addon_heading a, .addon_heading span{
	margin-right:2em;
	}



